package com.bus.admin.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author 张子艺
 * @since 2020-04-01
 */
@ApiModel(value="LinInfoAll对象", description="")
public class LinInfoAll extends Model<LinInfoAll> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "线路编号")
    @TableField("line_no")
    private String lineNo;

    @ApiModelProperty(value = "线路名称")
    @TableField("line_name")
    private String lineName;

    @ApiModelProperty(value = "上下行")
    @TableField("is_up_down")
    private String isUpDown;

    @ApiModelProperty(value = "站点总数")
    @TableField("station_sum")
    private String stationSum;

    @ApiModelProperty(value = "首班时间")
    @TableField("first_time")
    private String firstTime;

    @ApiModelProperty(value = "末班时间")
    @TableField("last_time")
    private String lastTime;

    @ApiModelProperty(value = "开始站点编号")
    @TableField("begin_station")
    private String beginStation;

    @ApiModelProperty(value = "结束站点编号")
    @TableField("end_station")
    private String endStation;

    @ApiModelProperty(value = "首站名称")
    @TableField("begin_station_name")
    private String beginStationName;

    @ApiModelProperty(value = "末站名称")
    @TableField("end_station_name")
    private String endStationName;

    @ApiModelProperty(value = "票价")
    @TableField("ticket")
    private String ticket;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getLineNo() {
        return lineNo;
    }

    public void setLineNo(String lineNo) {
        this.lineNo = lineNo;
    }
    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }
    public String getIsUpDown() {
        return isUpDown;
    }

    public void setIsUpDown(String isUpDown) {
        this.isUpDown = isUpDown;
    }
    public String getStationSum() {
        return stationSum;
    }

    public void setStationSum(String stationSum) {
        this.stationSum = stationSum;
    }
    public String getFirstTime() {
        return firstTime;
    }

    public void setFirstTime(String firstTime) {
        this.firstTime = firstTime;
    }
    public String getLastTime() {
        return lastTime;
    }

    public void setLastTime(String lastTime) {
        this.lastTime = lastTime;
    }
    public String getBeginStation() {
        return beginStation;
    }

    public void setBeginStation(String beginStation) {
        this.beginStation = beginStation;
    }
    public String getEndStation() {
        return endStation;
    }

    public void setEndStation(String endStation) {
        this.endStation = endStation;
    }
    public String getBeginStationName() {
        return beginStationName;
    }

    public void setBeginStationName(String beginStationName) {
        this.beginStationName = beginStationName;
    }
    public String getEndStationName() {
        return endStationName;
    }

    public void setEndStationName(String endStationName) {
        this.endStationName = endStationName;
    }
    public String getTicket() {
        return ticket;
    }

    public void setTicket(String ticket) {
        this.ticket = ticket;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "LinInfoAll{" +
            "id=" + id +
            ", lineNo=" + lineNo +
            ", lineName=" + lineName +
            ", isUpDown=" + isUpDown +
            ", stationSum=" + stationSum +
            ", firstTime=" + firstTime +
            ", lastTime=" + lastTime +
            ", beginStation=" + beginStation +
            ", endStation=" + endStation +
            ", beginStationName=" + beginStationName +
            ", endStationName=" + endStationName +
            ", ticket=" + ticket +
        "}";
    }
}
